<div class="log-detail-page">
	<div class="log-content">
		<div class="top">
		<div class="writer-photo" member_id="<%=user.member_id%>">
			<img src="<%=user.avatar%>" class="head-photo">
		</div>
		<div class="writer-info">
			<div class="writer-name"><%=user.real_name%></div>
			<div class="date-and-phone">
				<span><%=created_text%></span>
				<%if(from_type=="0" || from_type=="1"){%>
				<span>来自web端</span>
				<%}else if(from_type=="2"){%>
				<span>来自iOS端</span>
				<%}else if(from_type=="4"){%>
				<span>来自Android端</span>
				<%}else if(from_type=="5"){%>
				<span>来自WP端</span>
				<%}else if(from_type=="3"){%>
				<span>来自桌面端</span>
				<%}%>
			</div>
		</div>
		</div>
		<div class="log-main-context">
			<div class="log-type">
				<span><%=tem_name%></span>
			</div>
			<div class="log-type">
				<span><%=type_name%></span>
			</div>
			<div class="line-limit">
				<%for(var i=0;i < content.content.length;i++){%>
				<div class="item">
					<span class="context-head"><%=content.content[i].title%></span>
					<% var html='';
					if(content.content[i].content.indexOf("href") > 0 ){
						html=content.content[i].content.replace(/href="(.*?)"/gi,'href="javascript:void(0);"');               } else {
						html=content.content[i].content
					}%>
					<%=html %>
				</div>
				<%}%>
			</div>
		</div>
		<div class="image js-image-detail">
			<%if (file.length>0) {%>
			<% file.forEach(function(it){ %>
			<div class="image-content" fid=<%=it.fid%> >
				<img src=<%=it.filepath + '.middle.jpg'%>>
			</div>
			<%})%>
			<%}%>
		</div>
		<div class="log-bottom-box">
			<div class="log-bottom log-bottom-left log-bottom-select">
				<span >赞</span>
				<span class="favor-num"><%=approval_count%></span>
			</div><div class="log-bottom log-bottom-right">
				<span >评论</span>
				<span class="comments-num"><%=comment_count%></span>
			</div>
		</div>
	</div>
	<div class="log-item">
	<div class="like-wrap">
	</div>
		<div class="comment-wrap" style="display: none">
	</div>

	</div>

</div>
<!--<div class="alert-background">-->
	<!--<div class="alert-box" style="display:none">-->
	        <!--<div class="alert-info">-->
	            <!--<div>撤回日之后，当前的日志将会删除</div>-->
	            <!--<div>确定撤回日志吗？</div>-->
	        <!--</div>-->
	        <!--<div class="alert-bottom">-->
	            <!--<div class="alert-btn alert-btn-cancel">取消</div><div class="alert-btn alert-btn-sure">确定</div>-->
	        <!--</div>-->
	<!--</div>-->
<!--</div>-->
